API Help
EPLAN API / API Reference / Actions / graphicallayertable
graphicallayertable
Action class for graphical layer table functions: import, export.

Parameter Description

TYPE

Type of task to be performed by the action:
IMPORT:Import graphical layer table
EXPORT:Export graphical layer table

PROJECTNAME

Project name with full path(optional).
If not entered, the selected project is used when the action is called from GUI (like from a script or button bar). 
If called from the windows command line, PROJECTNAME must be set or the  must be used first, otherwise an  exception is thrown. 

IMPORTFILE

The directory and the file name of the table to be imported must be specified here.

EXPORTFILE

The directory and the file name of the table to be exported must be specified here.

Example
import:

graphicallayertable /TYPE:IMPORT /PROJECTNAME:C:\Projects\EPLAN\ESS_Sample_Project.elk /IMPORTFILE:C:\EPLAN\ESS_Sample_Project.elc

export:

graphicallayertable /TYPE:EXPORT /PROJECTNAME:C:\Projekte\EPLAN\ESS_Sample_Project.elk /EXPORTFILE:C:\EPLAN\ESS_Sample_Project.elc